package com.edfu.core.institutemgt.persistence.api;

import com.edfu.core.institutemgt.persistence.entity.AcadSemEntity;
import com.edfu.core.institutemgt.persistence.entity.BatchEntity;
import com.edfu.core.institutemgt.persistence.entity.BranchEntity;
import com.edfu.core.institutemgt.persistence.entity.BranchMemberEntity;
import com.edfu.core.institutemgt.persistence.entity.IInstituteMgtEntity;
import com.edfu.core.institutemgt.persistence.entity.InstituteEntity;
import com.edfu.core.institutemgt.persistence.entity.SectionEntity;

public interface IInstituteMgtPersistence {
	InstituteEntity getInstitute(String instituteCode);

	BranchEntity getBranch(String branchCode);

	AcadSemEntity getSemester(String semesterCode);

	BatchEntity getBatch(String batchCode);
	
	BranchMemberEntity getBranchMember(String userId, String userRole,
			String branchCode);
	
	SectionEntity getSection(String sectionCode);
	
	void persist(IInstituteMgtEntity entity);
}
